﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Globalization;

namespace Wix.Aura.Common.CustomTypes {

	public class YesNoType {
		private YesNoType(YesNoValue value) {
			Value = value;
		}

		private YesNoValue Value { get; set; }

		public override string ToString() {
			return Value.ToString().ToLower(CultureInfo.InvariantCulture);
		}

		public static YesNoType Yes { get { return new YesNoType(YesNoValue.Yes); } }
		public static YesNoType No { get { return new YesNoType(YesNoValue.No); } }
	}

	internal enum YesNoValue {
		No,
		Yes
	}
}
